//
//  SVProgressHUD+WLShow.m
//  MusicApp
//
//  Created by 专注 on 2021/3/28.
//  Copyright © 2021 专注. All rights reserved.
//

#import "SVProgressHUD+WLShow.h"

@implementation SVProgressHUD (WLShow)
+(void)show_wl{
    [SVProgressHUD show];
    [SVProgressHUD setDefaultMaskType:SVProgressHUDMaskTypeNone];
}
+(void)showMask_wl{
    [SVProgressHUD show];
    [SVProgressHUD setDefaultMaskType:SVProgressHUDMaskTypeClear];
}

+(void)dismiss_wl{
    [SVProgressHUD setDefaultMaskType:SVProgressHUDMaskTypeNone];
    [SVProgressHUD dismiss];
}

+(void)showError_wl:(NSString *)title{
    [SVProgressHUD setDefaultMaskType:SVProgressHUDMaskTypeNone];
    [SVProgressHUD showErrorWithStatus:title];
}
+(void)showSuccess_wl:(NSString *)title{
    [SVProgressHUD setDefaultMaskType:SVProgressHUDMaskTypeNone];
    [SVProgressHUD showSuccessWithStatus:title];
}
@end
